package edu.sctu.chengongsuo.anno;

/**
 * Created by apple on 8/10/15.
 */
public class AnnoClient {

    public static void main(String[] args) {

        Class c = User.class;

        Table tableName = (Table) c.getAnnotation(Table.class);

        c.getDeclaredAnnotations();

        c.getDeclaredFields();

        System.out.println("Table name is: "+tableName);
    }
}
